package com.pap.customer.info.controller;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.pap.base.controller.BaseController;
import com.pap.customer.agent.info.ICustomerInfoRelAgent;
import com.pap.customer.info.auto.entity.CustomerInfoRel;

@RestController
@RequestMapping("/v1/customer/customerinforel")
public class CustomerInfoRelController extends BaseController<CustomerInfoRel, ICustomerInfoRelAgent> {

	private static Logger logger = LoggerFactory.getLogger(CustomerInfoRelController.class);

	@Resource(name = "customerInfoRelAgent")
	@Override
	public void setService(ICustomerInfoRelAgent agent) {
		super.service = agent;
	}
}
